import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
import generatedRoutes from 'virtual:generated-pages';
import GlobalComponentA from "@/pages/chapter2/Components/GlobalComponentA.vue";
import GlobalComponentB from "@/pages/chapter2/Components/GlobalComponentB.vue";
// console.log(generatedRoutes);
app.component('GlobalComponentA', GlobalComponentA)
app.component('GlobalComponentB', GlobalComponentB)
// 全局注册组件
// 可以使用 PascalCase 或 kebab-case 来引用这些组件
